package cn.tedu.yushouge.pet.adopt.service;

import cn.tedu.yushouge.pet.adopt.pojo.param.PetPicAddNewParam;
import cn.tedu.yushouge.pet.adopt.pojo.vo.PetPicListItemVO;
import cn.tedu.yushouge.pet.adopt.pojo.vo.PetPicStandardVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IPetPicService {

    void addNew(PetPicAddNewParam petPicAddNewParam,Long petId);

    void deleteById(Long id);

    List<PetPicListItemVO> getPicListByPetId(Long petId);


    void setCover(Long id);

    PetPicStandardVO getStandardById(Long id);

    List<PetPicListItemVO> getPicListForIsCover();
}
